public class Example3_2{
    public static void main(String args[]){
      int a=9,b=5,c=7,t=0;
     if(b<a){
   t=a;
   a=b;
   b=t;
 }
 if(c<a){
 t=a;
 a=c;
 c=5;
 }
if(c<b){
  t=b;
 b=c;
 c=t;
}
 System.out.println("a="+a+",b="+b+",c="+c);
   }
}

